/********************************************************************************
** Form generated from reading ui file 'abscences.ui'
**
** Created: Tue Aug 18 20:08:51 2009
**      by: Qt User Interface Compiler version 4.5.1
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef UI_ABSCENCES_H
#define UI_ABSCENCES_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCalendarWidget>
#include <QtGui/QDateEdit>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QTableWidget>
#include <QtGui/QTextEdit>
#include <QtGui/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_Abscences
{
public:
    QGridLayout *gridLayout_3;
    QGridLayout *gridLayout_2;
    QPushButton *editPB;
    QLabel *label_8;
    QLineEdit *nameLE;
    QLabel *label;
    QDoubleSpinBox *baseSalSB;
    QLabel *label_7;
    QDoubleSpinBox *jourSalSB;
    QLabel *monthLB;
    QLabel *label_2;
    QDoubleSpinBox *nbrAbsSB;
    QLabel *label_4;
    QDoubleSpinBox *costSB;
    QLabel *label_5;
    QDoubleSpinBox *primeSB;
    QLabel *label_3;
    QDoubleSpinBox *salSB;
    QLabel *label_6;
    QTextEdit *notes;
    QVBoxLayout *calLayout;
    QTableWidget *absTable;
    QCalendarWidget *calendarWidget;
    QGridLayout *gridLayout;
    QLabel *label_11;
    QLabel *label_9;
    QDateEdit *absDate;
    QPushButton *pushButton;
    QLabel *label_10;
    QLineEdit *raisonLE;
    QPushButton *minus;
    QRadioButton *demiRB;
    QRadioButton *jourRB;
    QHBoxLayout *horizontalLayout_10;
    QDialogButtonBox *buttonBox;
    QButtonGroup *buttonGroup;

    void setupUi(QDialog *Abscences)
    {
        if (Abscences->objectName().isEmpty())
            Abscences->setObjectName(QString::fromUtf8("Abscences"));
        Abscences->resize(740, 653);
        gridLayout_3 = new QGridLayout(Abscences);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        editPB = new QPushButton(Abscences);
        editPB->setObjectName(QString::fromUtf8("editPB"));
        editPB->setEnabled(true);
        QIcon icon;
        icon.addPixmap(QPixmap(QString::fromUtf8(":/32x32/document-encrypt.png")), QIcon::Normal, QIcon::Off);
        editPB->setIcon(icon);
        editPB->setIconSize(QSize(25, 25));
        editPB->setCheckable(true);
        editPB->setChecked(false);

        gridLayout_2->addWidget(editPB, 0, 3, 1, 1);

        label_8 = new QLabel(Abscences);
        label_8->setObjectName(QString::fromUtf8("label_8"));
        label_8->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_8, 1, 0, 1, 3);

        nameLE = new QLineEdit(Abscences);
        nameLE->setObjectName(QString::fromUtf8("nameLE"));
        nameLE->setMinimumSize(QSize(240, 0));
        nameLE->setReadOnly(true);

        gridLayout_2->addWidget(nameLE, 1, 3, 1, 1);

        label = new QLabel(Abscences);
        label->setObjectName(QString::fromUtf8("label"));
        label->setMaximumSize(QSize(134, 16777215));

        gridLayout_2->addWidget(label, 2, 0, 1, 3);

        baseSalSB = new QDoubleSpinBox(Abscences);
        baseSalSB->setObjectName(QString::fromUtf8("baseSalSB"));
        baseSalSB->setEnabled(false);
        baseSalSB->setAlignment(Qt::AlignCenter);
        baseSalSB->setReadOnly(false);
        baseSalSB->setMaximum(9999.99);

        gridLayout_2->addWidget(baseSalSB, 2, 3, 1, 1);

        label_7 = new QLabel(Abscences);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        label_7->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_7, 3, 0, 1, 3);

        jourSalSB = new QDoubleSpinBox(Abscences);
        jourSalSB->setObjectName(QString::fromUtf8("jourSalSB"));
        jourSalSB->setEnabled(false);
        jourSalSB->setAlignment(Qt::AlignCenter);
        jourSalSB->setReadOnly(false);
        jourSalSB->setMaximum(999.99);

        gridLayout_2->addWidget(jourSalSB, 3, 3, 1, 1);

        monthLB = new QLabel(Abscences);
        monthLB->setObjectName(QString::fromUtf8("monthLB"));
        monthLB->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(monthLB, 4, 0, 1, 1);

        label_2 = new QLabel(Abscences);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_2, 5, 0, 1, 3);

        nbrAbsSB = new QDoubleSpinBox(Abscences);
        nbrAbsSB->setObjectName(QString::fromUtf8("nbrAbsSB"));
        nbrAbsSB->setEnabled(false);
        nbrAbsSB->setAlignment(Qt::AlignCenter);

        gridLayout_2->addWidget(nbrAbsSB, 5, 3, 1, 1);

        label_4 = new QLabel(Abscences);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_4, 6, 0, 1, 3);

        costSB = new QDoubleSpinBox(Abscences);
        costSB->setObjectName(QString::fromUtf8("costSB"));
        costSB->setEnabled(false);
        costSB->setAlignment(Qt::AlignCenter);
        costSB->setMaximum(9999.99);

        gridLayout_2->addWidget(costSB, 6, 3, 1, 1);

        label_5 = new QLabel(Abscences);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        label_5->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_5, 7, 0, 1, 1);

        primeSB = new QDoubleSpinBox(Abscences);
        primeSB->setObjectName(QString::fromUtf8("primeSB"));
        primeSB->setEnabled(false);
        primeSB->setAlignment(Qt::AlignCenter);
        primeSB->setMinimum(-999);
        primeSB->setMaximum(9999.99);

        gridLayout_2->addWidget(primeSB, 7, 3, 1, 1);

        label_3 = new QLabel(Abscences);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setMaximumSize(QSize(167, 16777215));

        gridLayout_2->addWidget(label_3, 8, 0, 1, 3);

        salSB = new QDoubleSpinBox(Abscences);
        salSB->setObjectName(QString::fromUtf8("salSB"));
        salSB->setEnabled(false);
        QPalette palette;
        QBrush brush(QColor(20, 19, 18, 255));
        brush.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
        QBrush brush1(QColor(74, 146, 232, 255));
        brush1.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Button, brush1);
        QBrush brush2(QColor(255, 0, 0, 255));
        brush2.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Dark, brush2);
        QBrush brush3(QColor(125, 84, 194, 255));
        brush3.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Mid, brush3);
        palette.setBrush(QPalette::Active, QPalette::Text, brush);
        palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
        QBrush brush4(QColor(255, 255, 255, 255));
        brush4.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Base, brush4);
        QBrush brush5(QColor(217, 224, 193, 255));
        brush5.setStyle(Qt::SolidPattern);
        palette.setBrush(QPalette::Active, QPalette::Window, brush5);
        palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
        palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
        palette.setBrush(QPalette::Inactive, QPalette::Dark, brush2);
        palette.setBrush(QPalette::Inactive, QPalette::Mid, brush3);
        palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
        palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
        palette.setBrush(QPalette::Inactive, QPalette::Base, brush4);
        palette.setBrush(QPalette::Inactive, QPalette::Window, brush5);
        palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush2);
        palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
        palette.setBrush(QPalette::Disabled, QPalette::Dark, brush2);
        palette.setBrush(QPalette::Disabled, QPalette::Mid, brush3);
        palette.setBrush(QPalette::Disabled, QPalette::Text, brush2);
        palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush2);
        palette.setBrush(QPalette::Disabled, QPalette::Base, brush5);
        palette.setBrush(QPalette::Disabled, QPalette::Window, brush5);
        salSB->setPalette(palette);
        salSB->setAlignment(Qt::AlignCenter);
        salSB->setMaximum(9999.99);

        gridLayout_2->addWidget(salSB, 8, 3, 1, 1);

        label_6 = new QLabel(Abscences);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        gridLayout_2->addWidget(label_6, 9, 0, 1, 1);

        notes = new QTextEdit(Abscences);
        notes->setObjectName(QString::fromUtf8("notes"));
        notes->setMaximumSize(QSize(400, 65));

        gridLayout_2->addWidget(notes, 9, 2, 1, 2);


        gridLayout_3->addLayout(gridLayout_2, 1, 0, 1, 1);

        calLayout = new QVBoxLayout();
        calLayout->setObjectName(QString::fromUtf8("calLayout"));
        absTable = new QTableWidget(Abscences);
        if (absTable->columnCount() < 3)
            absTable->setColumnCount(3);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        __qtablewidgetitem->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
        absTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        __qtablewidgetitem1->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
        absTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
        __qtablewidgetitem2->setTextAlignment(Qt::AlignHCenter|Qt::AlignVCenter|Qt::AlignCenter);
        absTable->setHorizontalHeaderItem(2, __qtablewidgetitem2);
        absTable->setObjectName(QString::fromUtf8("absTable"));
        absTable->setMinimumSize(QSize(271, 0));
        absTable->setMaximumSize(QSize(1670, 16777215));

        calLayout->addWidget(absTable);

        calendarWidget = new QCalendarWidget(Abscences);
        calendarWidget->setObjectName(QString::fromUtf8("calendarWidget"));
        calendarWidget->setMaximumSize(QSize(2800, 16777215));

        calLayout->addWidget(calendarWidget);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_11 = new QLabel(Abscences);
        label_11->setObjectName(QString::fromUtf8("label_11"));
        label_11->setMaximumSize(QSize(170, 16777215));
        label_11->setAlignment(Qt::AlignCenter);

        gridLayout->addWidget(label_11, 1, 2, 1, 1);

        label_9 = new QLabel(Abscences);
        label_9->setObjectName(QString::fromUtf8("label_9"));
        label_9->setMinimumSize(QSize(64, 0));

        gridLayout->addWidget(label_9, 2, 0, 1, 1);

        absDate = new QDateEdit(Abscences);
        absDate->setObjectName(QString::fromUtf8("absDate"));
        absDate->setEnabled(false);
        absDate->setMaximumSize(QSize(170, 16777215));

        gridLayout->addWidget(absDate, 2, 1, 1, 2);

        pushButton = new QPushButton(Abscences);
        pushButton->setObjectName(QString::fromUtf8("pushButton"));
        QIcon icon1;
        icon1.addPixmap(QPixmap(QString::fromUtf8(":/32x32/list-add.png")), QIcon::Normal, QIcon::Off);
        pushButton->setIcon(icon1);
        pushButton->setIconSize(QSize(22, 22));

        gridLayout->addWidget(pushButton, 2, 3, 1, 1);

        label_10 = new QLabel(Abscences);
        label_10->setObjectName(QString::fromUtf8("label_10"));

        gridLayout->addWidget(label_10, 3, 0, 1, 2);

        raisonLE = new QLineEdit(Abscences);
        raisonLE->setObjectName(QString::fromUtf8("raisonLE"));
        raisonLE->setEnabled(false);
        raisonLE->setMaximumSize(QSize(170, 16777215));

        gridLayout->addWidget(raisonLE, 3, 2, 1, 1);

        minus = new QPushButton(Abscences);
        minus->setObjectName(QString::fromUtf8("minus"));
        QIcon icon2;
        icon2.addPixmap(QPixmap(QString::fromUtf8(":/32x32/list-remove.png")), QIcon::Normal, QIcon::Off);
        minus->setIcon(icon2);
        minus->setIconSize(QSize(22, 22));

        gridLayout->addWidget(minus, 3, 3, 1, 1);

        demiRB = new QRadioButton(Abscences);
        buttonGroup = new QButtonGroup(Abscences);
        buttonGroup->setObjectName(QString::fromUtf8("buttonGroup"));
        buttonGroup->addButton(demiRB);
        demiRB->setObjectName(QString::fromUtf8("demiRB"));

        gridLayout->addWidget(demiRB, 4, 3, 1, 1);

        jourRB = new QRadioButton(Abscences);
        buttonGroup->addButton(jourRB);
        jourRB->setObjectName(QString::fromUtf8("jourRB"));
        jourRB->setMaximumSize(QSize(170, 16777215));
        jourRB->setChecked(true);

        gridLayout->addWidget(jourRB, 4, 2, 1, 1);


        calLayout->addLayout(gridLayout);

        horizontalLayout_10 = new QHBoxLayout();
        horizontalLayout_10->setObjectName(QString::fromUtf8("horizontalLayout_10"));

        calLayout->addLayout(horizontalLayout_10);


        gridLayout_3->addLayout(calLayout, 1, 1, 1, 1);

        buttonBox = new QDialogButtonBox(Abscences);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout_3->addWidget(buttonBox, 2, 0, 1, 1);


        retranslateUi(Abscences);
        QObject::connect(buttonBox, SIGNAL(rejected()), Abscences, SLOT(reject()));
        QObject::connect(pushButton, SIGNAL(clicked()), Abscences, SLOT(addAbs()));
        QObject::connect(minus, SIGNAL(clicked()), Abscences, SLOT(remAbs()));
        QObject::connect(calendarWidget, SIGNAL(activated(QDate)), Abscences, SLOT(setDate(QDate)));
        QObject::connect(calendarWidget, SIGNAL(currentPageChanged(int,int)), Abscences, SLOT(showAbs(int,int)));
        QObject::connect(baseSalSB, SIGNAL(valueChanged(double)), Abscences, SLOT(calcJour(double)));
        QObject::connect(editPB, SIGNAL(toggled(bool)), Abscences, SLOT(setEdit(bool)));
        QObject::connect(buttonBox, SIGNAL(accepted()), Abscences, SLOT(save()));
        QObject::connect(costSB, SIGNAL(valueChanged(double)), Abscences, SLOT(updateSal(double)));
        QObject::connect(primeSB, SIGNAL(valueChanged(double)), Abscences, SLOT(updateSal()));
        QObject::connect(absTable, SIGNAL(clicked(QModelIndex)), Abscences, SLOT(setSel(QModelIndex)));
        QObject::connect(nbrAbsSB, SIGNAL(valueChanged(double)), Abscences, SLOT(updateSal()));

        QMetaObject::connectSlotsByName(Abscences);
    } // setupUi

    void retranslateUi(QDialog *Abscences)
    {
        Abscences->setWindowTitle(QApplication::translate("Abscences", "Abscences", 0, QApplication::UnicodeUTF8));
        editPB->setText(QApplication::translate("Abscences", "Modifier", 0, QApplication::UnicodeUTF8));
        label_8->setText(QApplication::translate("Abscences", "Employ\303\251:", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("Abscences", "Salaire de base:", 0, QApplication::UnicodeUTF8));
        label_7->setText(QApplication::translate("Abscences", "Journ\303\251e:", 0, QApplication::UnicodeUTF8));
        monthLB->setText(QString());
        label_2->setText(QApplication::translate("Abscences", "Absences :", 0, QApplication::UnicodeUTF8));
        label_4->setText(QApplication::translate("Abscences", "A retenir:", 0, QApplication::UnicodeUTF8));
        label_5->setText(QApplication::translate("Abscences", "Prime;", 0, QApplication::UnicodeUTF8));
        label_3->setText(QApplication::translate("Abscences", "Salaire Final:", 0, QApplication::UnicodeUTF8));
        label_6->setText(QApplication::translate("Abscences", "Notes:", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem = absTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QApplication::translate("Abscences", "Date", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem1 = absTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QApplication::translate("Abscences", "Raison", 0, QApplication::UnicodeUTF8));
        QTableWidgetItem *___qtablewidgetitem2 = absTable->horizontalHeaderItem(2);
        ___qtablewidgetitem2->setText(QApplication::translate("Abscences", "Journ\303\251e", 0, QApplication::UnicodeUTF8));
        label_11->setText(QApplication::translate("Abscences", "ABSENCES", 0, QApplication::UnicodeUTF8));
        label_9->setText(QApplication::translate("Abscences", "Date :", 0, QApplication::UnicodeUTF8));
        absDate->setDisplayFormat(QApplication::translate("Abscences", "yyyy-MM-dd", 0, QApplication::UnicodeUTF8));
        pushButton->setText(QApplication::translate("Abscences", "+", 0, QApplication::UnicodeUTF8));
        label_10->setText(QApplication::translate("Abscences", "Raison :", 0, QApplication::UnicodeUTF8));
        raisonLE->setText(QApplication::translate("Abscences", "---", 0, QApplication::UnicodeUTF8));
        minus->setText(QApplication::translate("Abscences", "-", 0, QApplication::UnicodeUTF8));
        demiRB->setText(QApplication::translate("Abscences", "1/2 jour", 0, QApplication::UnicodeUTF8));
        jourRB->setText(QApplication::translate("Abscences", "Journ\303\251e", 0, QApplication::UnicodeUTF8));
        Q_UNUSED(Abscences);
    } // retranslateUi

};

namespace Ui {
    class Abscences: public Ui_Abscences {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_ABSCENCES_H
